package com.qianli.cashmama.trade.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.qianli.cashmama.trade.dao.TPreventRepeatDao;
import com.qianli.cashmama.trade.entity.TPreventRepeatEntity;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public class TPreventRepeatDaoImpl extends AbstractBaseMapper<TPreventRepeatEntity> implements TPreventRepeatDao {


    @Override
    public Integer updateRepeatVersion(TPreventRepeatEntity preventRepeatEntity) {
        return getSqlSession().update(getStatement("updateRepeatVersion"), preventRepeatEntity);
    }

    @Override
    public TPreventRepeatEntity selectOneByParam(Map<String, Object> paramsMap) {
        return getSqlSession().selectOne(getStatement("selectOneByParam"), paramsMap);
    }
}